﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace PRE.Catalog
{
    public partial class frmThongke : DevExpress.XtraEditors.XtraForm
    {
        DAL.Entities_DAL.QLTB_DAL _qltb = new DAL.Entities_DAL.QLTB_DAL();
        public frmThongke()
        {
            InitializeComponent();
        }

        private void frmThongke_Load(object sender, EventArgs e)
        {

        }

        private void cmdTKe_Click(object sender, EventArgs e)
        {
            DataTable _ds = _qltb.ds_thongke(Convert.ToDateTime(dtNgay.EditValue + ""));
            ds_tke.DataSource = _ds;
        }
    }
}